package cn.codeartist.wechat.qywx.entity.constants;

/**
 * 企业微信接口URL
 *
 * @author 艾江南
 * @date 2020/7/28
 */
public interface QywxApiUrl {

    // 权限相关

    String GET_ACCESS_TOKEN = "/cgi-bin/gettoken?corpid={ID}&corpsecret={SECRET}";

    // 通讯录管理-成员管理

    String USER_CREATE = "/cgi-bin/user/create?access_token={ACCESS_TOKEN}";
    String USER_GET = "/cgi-bin/user/get?access_token={ACCESS_TOKEN}&userid={USERID}";
    String USER_UPDATE = "/cgi-bin/user/update?access_token={ACCESS_TOKEN}";
    String USER_DELETE = "/cgi-bin/user/delete?access_token={ACCESS_TOKEN}&userid={USERID}";
    String USER_BATCH_DELETE = "/cgi-bin/user/batchdelete?access_token={ACCESS_TOKEN}";
    String USER_DEPT_GET = "/cgi-bin/user/simplelist?access_token={ACCESS_TOKEN}&department_id={DEPARTMENT_ID}&fetch_child={FETCH_CHILD}";
    String USER_DEPT_DETAIL_GET = "/cgi-bin/user/list?access_token={ACCESS_TOKEN}&department_id={DEPARTMENT_ID}&fetch_child={FETCH_CHILD}";
    String USERID_TO_OPENID = "/cgi-bin/user/convert_to_openid?access_token={ACCESS_TOKEN}";
    String OPENID_TO_USERID = "/cgi-bin/user/convert_to_userid?access_token={ACCESS_TOKEN}";
    String USER_INVITE = "/cgi-bin/batch/invite?access_token={ACCESS_TOKEN}";
    String CROP_JOIN_QRCODE_GET = "/cgi-bin/corp/get_join_qrcode?access_token={ACCESS_TOKEN}&size_type={SIZE_TYPE}";
    String USER_ACTIVE_STAT_GET = "/cgi-bin/user/get_active_stat?access_token={ACCESS_TOKEN}";

    // 外部联系人管理

    // 身份验证

    // 应用管理

    // 消息推送

    // 素材管理

    // OA数据接口

}
